﻿using System;
using System.Collections.Generic;
using System.Text;
using Best.SmartCms.Dto.Request;

namespace Best.SmartCms.Dto
{
    /// <summary>
    /// 
    /// </summary>
    public class ChannelDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 栏目
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 关键字
        /// </summary>
        public string Keywords { get; set; }
        /// <summary>
        /// 栏目描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 是否显示菜单
        /// </summary>
        public bool IsShowMenu { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int OrderNo { get; set; }

        /// <summary>
        /// 栏目显示 Controller 类型，新闻列表，产品列表，图片展示
        /// </summary>
        public string ControllerName { get; set; }

        /// <summary>
        /// 栏目链接地址
        /// </summary>
        public string Url { get; set; }

    }

	/// <summary>
    /// 编辑对象
    /// </summary>
	public class ChannelEditDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 栏目组
        /// </summary>
        public long ChannelGroupId { get; set; }

        /// <summary>
        /// 栏目
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 关键字
        /// </summary>
        public string Keywords { get; set; }
        /// <summary>
        /// 栏目描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 是否显示菜单
        /// </summary>
        public bool IsShowMenu { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int OrderNo { get; set; }

        /// <summary>
        /// 栏目显示 Controller 类型，新闻列表，产品列表，图片展示
        /// </summary>
        public string ControllerName { get; set; }

        /// <summary>
        /// 栏目链接地址
        /// </summary>
        public string Url { get; set; }

    }

    /// <summary>
    /// 查询条件
    /// </summary>
    public class ChannelListQueryDto: PagedQueryRequest
    {

      
    }

    /// <summary>
    /// 列表对象
    /// </summary>
	public class ChannelListDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 栏目组
        /// </summary>
        public long ChannelGroupId { get; set; }

        /// <summary>
        /// 栏目组
        /// </summary>
        public string ChannelGroupName { get; set; }

        /// <summary>
        /// 栏目显示 Controller 类型，新闻列表，产品列表，图片展示
        /// </summary>
        public string ControllerName { get; set; }

        /// <summary>
        /// 栏目
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 关键字
        /// </summary>
        public string Keywords { get; set; }
        /// <summary>
        /// 栏目描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 是否显示菜单
        /// </summary>
        public bool IsShowMenu { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int OrderNo { get; set; }
      
    }
}
